<?php
namespace app\common\entity;

use think\Model;

class GameRoomConfig extends Model
{
    protected $table = 'game_room_config';

    protected $autoWriteTimestamp = false;

    public function getCate($num)
    {
        switch ($num){
            case 1:
                return '小房';
                break;
            case 2:
                return '中房';
                break;
            case 3:
                return '大房';
                break;
        }
    }

}